package com.lzh.ucenter.service;

import com.lzh.ucenter.entity.Member;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lzh.ucenter.vo.LoginVo;
import com.lzh.ucenter.vo.RegisterVo;
import com.lzh.ucenter.vo.UserInfo;

/**
 * <p>
 * 会员表 服务类
 * </p>
 *
 * @author lizuhu
 * @since 2021-05-19
 */
public interface MemberService extends IService<Member> {
    //登录
    String login(LoginVo login);
    //注册用户
    boolean register(RegisterVo register);

    UserInfo getUserInfo(String userId);

    Member getUserByOpenId(String openid);
}
